package com.stadium.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * 用户表
 *
 * @author wsl
 * @email
 * @date 2021-05-11 14:58:57
 */
@Data
@ApiModel(value = "用户表Dto")
public class SysUserDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "用户姓名(昵称)")
    private String name;
    @ApiModelProperty(value = "密码")
    @JsonIgnore
    private String password;
    @ApiModelProperty(value = "手机号")
    private String phoneNum;
    @ApiModelProperty(value = "身份证号")
    private String idNumber;
    @ApiModelProperty(value = "个性签名")
    private String signature;
    @ApiModelProperty(value = "状态码")
    private String statusCode;
    @ApiModelProperty(value = "头像")
    private String headPortrait;
    @ApiModelProperty(value = "角色（1：球员，2：球队管理者）")
    private String role;
    @ApiModelProperty(value = "是否是赛事管理员（0：否，1：是）")
    private String isAdmin;
}
